WpMatomo\Ecommerce\Woocommerce B

Total Complexity 77
Dependencies 4
Dependents 1
Total lines 439
Lines of code 305
Logical lines of code 170
Comment lines 52
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
on_order()
A
41 10 60
get_product_details()
A
47 11 34
on_cart_updated()
A
43 10 45
maybe_track_order_complete()
S
64 6 9
save_order_metadata()
S
60 5 13
on_order_status_change()
S
60 5 13
register_hooks()
S
48 3 33
get_product_categories()
S
57 4 17
anonymise_orderid_in_url()
S
61 3 15
after_calculate_totals()
S
62 3 12
get_product_id()
S
67 3 9
get_order_meta()
S
66 3 8
get_sku()
S
71 3 6
on_product_view()
S
60 2 14
isOrderFromBackOffice()
S
77 2 3
on_cart_updated_safe()
S
81 1 3
isWC3()
S
72 1 5
has_order_been_tracked_already()
S
80 1 3
set_order_been_tracked()
S
80 1 3